﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SysInfo
{
    public class Constant
    {
        private static string db_user = "lookflying";
        private static string db_pwd = "gufeng";
        private static string db_server = "localhost";
        private static string db_database = "test";
        private static string db_map_database = "mapping";

        private static string province_sql = "select `code`, `item` from `mapping`.`map_sfdh`;";

        /// <summary>
        /// SQL Statement used to Select Province
        /// </summary>
        public static string SQL_Province { get { return province_sql; } }

        public static string DB_USER { get { return db_user; } }

        public static string DB_PASSWORD { get { return db_pwd; } }

        public static string DB_SERVER { get { return db_server; } }

        public static string DB_DATABASE { get { return db_database; } }

        public static string DB_MAP_DATABASE { get { return db_map_database; } }
    }
}
